wpunit\Repository\ProviderRepositoryTest S

Total Complexity 18
Dependencies 6
Dependents 0
Total lines 142
Lines of code 119
Logical lines of code 43
Comment lines 1
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
initializeProviders()
S
46 1 49
testSetActiveProvider()
S
63 3 11
saveProviders()
S
74 2 5
testSave()
S
64 2 9
testGetAllProviders()
S
66 2 8
testGetAllProvidersAsArray()
S
63 2 10
testGetProviderById()
S
68 2 7
setUp()
S
71 1 6
tearDown()
S
77 1 4
testGetActiveProvider()
S
72 1 5
testDeleteProviderById()
S
72 1 5